-
Notifications
You must be signed in to change notification settings - Fork 2.3k
StreamStringTermsAggregator explicitly asserts single leaf #19416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StreamStringTermsAggregator explicitly asserts single leaf #19416
Conversation
|
❌ Gradle check result for f95c056: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Mikhail Khludnev <[email protected]>
f95c056 to
9b1eb64
Compare
...c/main/java/org/opensearch/search/aggregations/bucket/terms/StreamStringTermsAggregator.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/opensearch/search/aggregations/bucket/terms/StreamStringTermsAggregator.java
Outdated
Show resolved
Hide resolved
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19416 +/- ##
============================================
- Coverage 73.09% 72.95% -0.14%
+ Complexity 70553 70424 -129
============================================
Files 5716 5716
Lines 322926 322935 +9
Branches 46770 46770
============================================
- Hits 236032 235595 -437
- Misses 67882 68363 +481
+ Partials 19012 18977 -35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Mikhail Khludnev <[email protected]>
|
❌ Gradle check result for 6347a4a: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
aghh... adding assert into |
|
❕ Gradle check result for 2771ebc: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Signed-off-by: m.khludnev <[email protected]>
2771ebc to
0f84b06
Compare
Signed-off-by: m.khludnev <[email protected]>
|
❌ Gradle check result for 3c0350f: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Checked https://build.ci.opensearch.org/job/gradle-check/65053/ both seems unrelated. |
Signed-off-by: m.khludnev <[email protected]>
...c/main/java/org/opensearch/search/aggregations/bucket/terms/StreamStringTermsAggregator.java
Show resolved
Hide resolved
...c/main/java/org/opensearch/search/aggregations/bucket/terms/StreamStringTermsAggregator.java
Show resolved
Hide resolved
I propose to address them in the separate PR, where we can introduce a base class enforcing |
|
thank you @mkhludnev |
…h-project#19416) * Asserting single segment in StreamStringTermsAggregator Signed-off-by: Mikhail Khludnev <[email protected]> * Asserting single segment in StreamStringTermsAggregator Dropping two RandomIndexWriters still cause flakiness ;( (before). Signed-off-by: Mikhail Khludnev <[email protected]> * adding test collecting per-segment aggs and reducing them to get overal count and values. Signed-off-by: Mikhail Khludnev <[email protected]> * set flush mode per segment Signed-off-by: Mikhail Khludnev <[email protected]> * propagate reset() through profiler. Signed-off-by: m.khludnev <[email protected]> * add CHANGELOG.md Signed-off-by: m.khludnev <[email protected]> * join CHANGELOG.md line Signed-off-by: m.khludnev <[email protected]> --------- Signed-off-by: Mikhail Khludnev <[email protected]> Signed-off-by: Mikhail Khludnev <[email protected]> Signed-off-by: m.khludnev <[email protected]>
…h-project#19416) * Asserting single segment in StreamStringTermsAggregator Signed-off-by: Mikhail Khludnev <[email protected]> * Asserting single segment in StreamStringTermsAggregator Dropping two RandomIndexWriters still cause flakiness ;( (before). Signed-off-by: Mikhail Khludnev <[email protected]> * adding test collecting per-segment aggs and reducing them to get overal count and values. Signed-off-by: Mikhail Khludnev <[email protected]> * set flush mode per segment Signed-off-by: Mikhail Khludnev <[email protected]> * propagate reset() through profiler. Signed-off-by: m.khludnev <[email protected]> * add CHANGELOG.md Signed-off-by: m.khludnev <[email protected]> * join CHANGELOG.md line Signed-off-by: m.khludnev <[email protected]> --------- Signed-off-by: Mikhail Khludnev <[email protected]> Signed-off-by: Mikhail Khludnev <[email protected]> Signed-off-by: m.khludnev <[email protected]> Signed-off-by: Gagan Singh Saini <[email protected]>
…h-project#19416) * Asserting single segment in StreamStringTermsAggregator Signed-off-by: Mikhail Khludnev <[email protected]> * Asserting single segment in StreamStringTermsAggregator Dropping two RandomIndexWriters still cause flakiness ;( (before). Signed-off-by: Mikhail Khludnev <[email protected]> * adding test collecting per-segment aggs and reducing them to get overal count and values. Signed-off-by: Mikhail Khludnev <[email protected]> * set flush mode per segment Signed-off-by: Mikhail Khludnev <[email protected]> * propagate reset() through profiler. Signed-off-by: m.khludnev <[email protected]> * add CHANGELOG.md Signed-off-by: m.khludnev <[email protected]> * join CHANGELOG.md line Signed-off-by: m.khludnev <[email protected]> --------- Signed-off-by: Mikhail Khludnev <[email protected]> Signed-off-by: Mikhail Khludnev <[email protected]> Signed-off-by: m.khludnev <[email protected]>
Continuation of #19404.